/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.application.ejb.user;

import com.nus.dataaccess.dao.event.Event;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author
 */
@Local
public interface EventEjbLocal {

    public String getTestString();

    public List<Event> listAllEvents();

    public Event retrieveEventByDescription(String desc);

    public Event retrieveEventById(Long id);

    public List<Event> retrieveEventByConferenceId(Long conferenceId);

    public int getTotalCountEvent(Map<String, Object> filters);

    public int getTotalCountEventByConferenceId(long conferenceId, Map<String, Object> filters);
//    public UserAccount validateUser(String userName, String password) throws BusinessLogicException;

    public void persistEvent (Event event);

    public List<Event> paginateEvent(int first, int pageSize, String sortField, boolean ascending, Map<String, Object> filters);

    public int countPaginateEvent(Map<String, Object> filters);

    public void deleteEvent(Event event);
}
